package com.fuelindustries.ant.tasks;

import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;

public class Flp extends Task 
{
	private String __file; //the path to the flp project file
	private String __build = "publish"; // build action test, publish
	private String __flashpath;
	private boolean __verbose = false;
	
	public void execute() throws BuildException
	{
		throw new BuildException( "Flp class should never execute" );	
	}
	
	public void setFlashPath( String path )
	{
		__flashpath = path;
	}
	
	public String getFlashPath()
	{
		return( __flashpath );
	}
	
	public void setFile( String file )
	{
		__file = file;
	}
	
	public String getFile()
	{
		return( __file );
	}
	
	public void setBuild( String build )
	{
		__build = build;
	}
	
	public String getBuild()
	{
		return( __build );
	}
	
	public void setVerbose( boolean val )
	{
		__verbose = val;
	}
	
	public boolean getVerbose()
	{
		return( __verbose );
	}
	
	public void trace( String msg )
	{
		System.out.println( msg );
	}
}
